home *** CD-ROM | disk | FTP | other *** search
- Project S∙W∙O∙R∙D
- V2.0
-
- SubSystem : Documentation
- File : Docs/Readme.1st
- Author : Eric NICOLAS
- Overview : Informations : Starting with Sword
- UpDate : Oct 15, 1995
-
- ** Copyright (C) 1993,1995 The SWORD Group
- **
- ** This file is distributed under the terms listed in the document
- ** "copying.en". A copy of "copying.en" should accompany this file.
- ** if not, a copy should be available from where this file was obtained.
- ** This file may not be distributed without a verbatim copy of "copying.en".
- **
- ** This file is distributed WITHOUT ANY WARRANTY; without even the implied
- ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-
- 1. What is S∙W∙O∙R∙D ?
- ----------------------
-
- SWORD means System of Windows for the ORganisation of the Desktop.
- It is a Graphic User Interface (GUI) made with C++ objects, and
- it is accessible with Turbo C++ and GNU C++ (djgpp).
- It provides to the programmer all objects that are necessary to
- implement a nice and intuitive GUI. With Sword, all your programs will
- look as nice as NeXT interface. Thanks to object oriented programming,
- this interface is very easy to programm.
- The basic concepts behind the objects in SWORD are :
- -> Linked lists (or in fact linked trees)
- -> Events mecanism
- -> Efficient way of managing overlapping windows
-
- 2. What will you find in S∙W∙O∙R∙D ?
- ------------------------------------
-
- All classical features of any GUI will be available in SWORD. So
- you will find objects to create :
- -> Windows, Dialogs
- -> Buttons, Check boxes, Radio buttons
- -> Text edition controls, Static text
- -> Menus
- -> A full mathematical library including matrixes, vectors and
- so ons, in a convenient object-oriented implementation.
- -> And many other objects
-
- At this moment, the project is beginning and you will only find
- Windows, Dialogs, Buttons, Check boxes, Radio buttons, Static text.
-
- 3. What do you need to use S∙W∙O∙R∙D ?
- --------------------------------------
-
- You can use Sword library with both Turbo C++ and djgpp compilers.
- In both cases, you will need all the files in this package, plus
- the extended graphic library for djgpp (libgrx).
- -> With Turbo C, a 386sx16, 1Mo is sufficient. You will only be
- able to use the standard 640x480x16 graphic mode. Of course,
- a much powerfull computer is recommended to program new
- applications using Sword.
- -> With GNU C (djgpp), a 386dx20, 4Mo is a minimum. You will be
- able to use all graphics mode of your graphic card, if you have
- the good driver.
- A mouse is necessary to pilot the graphic interface.
-
- 4. Installation instructions
- ----------------------------
-
- If all the file have been expanded normally, you should have
- the following directories :
- C:\SWORD\ The main directory where you expand Sword files
- Contain also some usefull files and the SETUP.EXE
- C:\SWORD\WORK The working directory. Demo EXEs.
- C:\SWORD\INCLUDE Include files for the library
- C:\SWORD\LIBSRC Source files for the library
- C:\SWORD\LIB .A and .LIB files for the library
- C:\SWORD\TOOLS Some little utilities apart from the library
- C:\SWORD\TOOLS\SETUP Configuration program source code
- C:\SWORD\TOOLS\COLORS Computation of the colors tables. DO NOT USE.
- C:\SWORD\DOCS Documentations. Including this file.
- !! The Sword.DOC file is a WinWord V2 file in
- FRENCH and is NOT yet updated to reflect the
- last modifications in the library.
-
- 1. Be sure you have the next environnement variables :
- SET GO32= (...) driver path_driver/stdvga.grn (...)
- SET GRXFONT=path_to_grx_fonts
-
- 2. Set the next environnement variable :
- SET SWORDPATH=C:\SWORD
-
- 3. Execute the C:\SWORD\SETUP program and follow the instructions in
- order to choose a screen configuration according to your graphic
- card capabilities.
-
- 4. Try the demo programs :
- . Compiled with TC : C:\SWORD\WORK\SWORD_TC.EXE
- . Compiled with DJGPP : C:\SWORD\WORK\SWORD_DJ.EXE
- The SWORD_DJ demonstration was compiled with djgpp, and turned
- into a .EXE file with Coff2Exe. So YOU NEED GO32 IN YOUR PATH to
- execute it.
- !! The SWORD_DJ will not run in a Windows DOS-Box because DJGPP
- compiler don't support graphics in full DPMI mode.
-
- 5. You can even try to recompile the demo program yourself.
- . For the TC version, you have a SWORD_TC.PRJ project file.
- Just modify the Directories configuration, and ask 'Make' in
- the EDI.
- . For the DJGPP version, you have a makefile.
- In order to rebuild the SWORD.A library, just type >make
- In order to rebuild the demo, just type >make Demo
- If you have a problem with linking, it is due to libgrx.a
- wich is buggy in v1.12m4. Correct this by compiling mouse.c
- of libgrx and by replacing the old mouse.o by your new
- mouse.o in the libgrx.a (see djgpp FAQs).
-
- All comments, suggestion, bugs can be reported to :
- nicolas@dsys.ceng.cea.fr
-
- Have a nice moment with Sword... ;)
-
-